import Home from "./views/Home";
import { Routes, Route } from "react-router-dom";
import Login from './views/Login'
import Register from "./views/Register";
import Details from "./components/details/Details";

function App() {
  return (
    <div className="App">
      <Routes>
        <Route path="/" element={<Home />} />
        <Route path="/home/" element={<Home />} />
        <Route path="/login" element={<Login />} />
        <Route path="/register" element={<Register />} />
        <Route path="/details" element={<Details />} />
      </Routes>
    </div>
  );
}

export default App;
